//
//  LLUpDownArrowView.h
//  TaoTuo
//
//  Created by admin on 2019/8/20.
//  Copyright © 2019 admin. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LLUpDownArrowView;

typedef enum : NSUInteger {
    ArrowTypeWithDown,
    ArrowTypeWithUp
} ArrowType;

typedef void(^SelectTypeBlock)(LLUpDownArrowView * _Nullable arrowView, NSString * _Nullable title, ArrowType arrowType);

NS_ASSUME_NONNULL_BEGIN

@interface LLUpDownArrowView : UIView


- (void)setSelected:(BOOL)selected arrowType:(ArrowType)arrowType;

+ (instancetype)arrowViewWithFrame:(CGRect)frame title:(NSString *)title selectTypeBlock:(SelectTypeBlock)selectTypeBlock;

// 还原
- (void)resetView;

@end

NS_ASSUME_NONNULL_END
